let baseURL = '';
let baseFileURL = '';
let uploadAction = '';
let HKYURL = '';
if(process.env.NODE_ENV == 'development'){
    baseURL = location.protocol + '//' + location.host + '/yundianApi/';
    HKYURL = location.protocol + '//' + location.host + '/hky/';
    baseFileURL = location.protocol + '//' + location.host + '/mircodata/downloadbyfastdfspath?fastdfspath=';
    uploadAction = location.protocol + '//' + location.host + '/mircodata/uploadfile';
}else{
    baseURL = location.protocol + '//' + location.host + '/yundianApi/';
    HKYURL = location.protocol + '//' + location.host + '/hky/';
    baseFileURL = location.protocol + '//' + location.host + '/mircodata/downloadbyfastdfspath?fastdfspath=';
    uploadAction = location.protocol + '//' + location.host + '/mircodata/uploadfile';
}
export {baseURL,baseFileURL,uploadAction,HKYURL};